package com.mad.bakergps;

import java.util.ArrayList;

public class Node {
	
	double xPosition;
	double yPosition;
	int number;
	double longitude;
	double latitude;
	ArrayList<Line> outGoingLines;
	ArrayList<Line> inCommigLines;
	Line previousLine;
	Line nextLine;
	
	Node(int num){
		number=num;
	}

	//START GETTERS AND SETTERS
	public double getxPosition() {
		return xPosition;
	}

	public void setxPosition(double xPosition) {
		this.xPosition = xPosition;
	}

	public double getyPosition() {
		return yPosition;
	}

	public void setyPosition(double yPosition) {
		this.yPosition = yPosition;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public ArrayList<Line> getOutGoingLines() {
		return outGoingLines;
	}

	public void setOutGoingLines(ArrayList<Line> outGoingLines) {
		this.outGoingLines = outGoingLines;
	}

	public ArrayList<Line> getInCommigLines() {
		return inCommigLines;
	}

	public void setInCommigLines(ArrayList<Line> inCommigLines) {
		this.inCommigLines = inCommigLines;
	}

	public Line getPreviousLine() {
		return previousLine;
	}

	public void setPreviousLine(Line previousLine) {
		this.previousLine = previousLine;
	}

	public Line getNextLine() {
		return nextLine;
	}

	public void setNextLine(Line nextLine) {
		this.nextLine = nextLine;
	}
	
	//END GETTERS AND SETTERS

}
